<div class="centercontent">
    
	<div class="pageheader">
<h1 class="pagetitle">Manajemen Inventaris Barang</h1>

<span class="pagedesc">Informasi daftar inventaris barang</span>
            
        <ul class="hornav">
        </ul>
    </div><!--pageheader-->
        
    <div id="contentwrapper" class="contentwrapper">
        	
		<div id="basicform" class="subcontent">
        <!--contenttitle-->
        
                    
		<div class="contenttitle2">
        <h3>Form Tambah Barang</h3>
    </div><!--contenttitle-->
                    
	<form class="stdform stdform2" method="post" action="#" enctype="multipart/form-data">
	<?php echo form_open_multipart('pengelolaan_inventaris/add_process');?>
        <p>
            <label for="title">Kode Barang</label>
            <span class="field">
            <input name="kode_barang" id="kode_barang" class="longinput" type="text" value="<?php echo set_value('kode_barang'); ?>"/>
			</span>
			<?php echo form_error('kode_barang'); ?>
        </p>		            
    	<p>
            <label>Nama Barang</label>
            <span class="field">
            <input name="nama_barang" id="nama_barang" class="longinput" type="text" value="<?php echo set_value('nama_barang'); ?>" />
			<?php echo form_error('nama_barang'); ?>
			</span>
			
        </p>		
        <p>
            <label>Keterangan</label>
            <span class="field">
            <input name="keterangan" id="keterangan" class="longinput" type="text" value="<?php echo set_value('keterangan'); ?>" />
			</span>
			<?php echo form_error('keterangan'); ?>
        </p>
        <p>
            <label>Kondisi Barang</label>
            <span class="field">
            <select name="kondisi_barang" id="kondisi_barang">
				<option value="">Pilih Kondisi Barang</option>
                <option value="Baik" <?php if('Baik' == set_value('kondisi_barang')) echo 'selected'; ?>>Baik</option>
                <option value="Rusak" <?php if('Rusak' == set_value('kondisi_barang')) echo 'selected'; ?>>Rusak</option>
                <option value="Hilang" <?php if('Hilang' == set_value('kondisi_barang')) echo 'selected'; ?>>Hilang</option>
            </select>
            </span>
			<?php echo form_error('kondisi_barang'); ?>
        </p>
		<p>
            <label>Foto Barang</label>
            <span class="field">
                <input name="foto_barang" type="file" />
            </span>
        </p>
                        
    <p class="stdformbutton">
		<button class="submit radius2" type="submit">Submit Button</button>
        <input class="reset radius2" value="Reset Button" type="reset" />
    </p>
	<?php echo form_close();?>
	</form>
					
    <br />

          </div><!--subcontent-->            
            
        </div><!--contentwrapper-->
        
	</div><!-- centercontent -->